package com.addplus.townmall.server.api.model.town.expand;

import com.addplus.townmall.server.api.model.town.MemberAddress;
import com.addplus.townmall.server.api.model.town.OrderItems;
import com.addplus.townmall.server.api.model.town.OrderShipping;
import com.addplus.townmall.server.api.model.town.param.OrderItemsParam;
import com.addplus.townmall.server.api.model.town.param.OrderShopItemsParam;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 类名: SubmitOrderExpand
 *
 * @author zhangjiehang
 * @version V1.0
 * @date 2018/9/28 下午6:04
 * @description 类描述: 提交订单前数据组装返回实体类
 */
@Data
public class SubmitOrderExpand implements Serializable {
    private static final long serialVersionUID = -7543748118150737982L;
    /**
     * 订单商品总数量
     */
    private Integer shopNum;
    /**
     * 订单商品总金额
     */
    private BigDecimal totalSalePrice;
    /**
     * 商城用户地址
     */
    private MemberAddress memberAddress;
    /**
     * 商品配送地址
     */
    private OrderShipping orderShipping;
    /**
     * 普通商品出参类
     */
    private List<OrderItemsParam> orderItemsParams;
    /**
     * 礼品卡出参类
     */
    private OrderItemsParam orderItemsParam;
    /**
     * 普通商品失效商品列表
     */
    private List<OrderShopItemsParam> loseOrderShopItemsParam;
    /**
     * 礼品卡失效商品
     */
    private OrderItems loseOrderItems;

}
